package com.woniuxy.system.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.system.entity.PerformancePost;

import java.util.List;

/**
 * <p>
 * 岗位管理 服务类
 * </p>
 *
 * @author woniuxy
 * @since 2022-06-01
 */
public interface PerformancePostService extends IService<PerformancePost> {
    boolean addPerformancePost(PerformancePost performancePost,String userid);

    Page<PerformancePost> getAllPerformancePost (IPage<PerformancePost> page, Wrapper<PerformancePost> wrapper);
    List<PerformancePost> getPerformancePostTree ();
}
